home *** CD-ROM | disk | FTP | other *** search
/ USA Bestseller / USA BESTSELLER Vol 1-95 (Hepp-Computer)(1995).iso / e089 / recover.doc < prev    next >
Text File  |  1992-03-16  |  8KB  |  163 lines

  1.                                   Disk Recovery
  2.                                   =============
  3.  
  4.        I sincerely hope that you will never need to use the information
  5.        in this file, but include it just in case any mishaps occur whilst
  6.        SAFEPACK is running.
  7.  
  8.        Due to the way that SAFEPACK is written, disruption of the program
  9.        at any stage should not affect the integrity of your data, but may
  10.        cause minor disruption to the organisation of the disk, such that
  11.        it should be tidied up before further use.  This file contains
  12.        information on how do perform this tidying, and an explanation of
  13.        the error messages that may be encountered.
  14.  
  15.        In the vast majority of cases of interruption to the program,
  16.        including all cases of user break-in with ctrl-break, the disk
  17.        should remain in a perfectly acceptable, usable condition, causing
  18.        DOS no problems.  It may well be even more fragmented than before,
  19.        but that shouldn't cause any problems that another run of SAFEPACK
  20.        wouldn't cure!  In rare cases, however, if the interruption occurs
  21.        while the directories are being written, two types of 'error' will
  22.        be noticed by CHKDSK, namely:
  23.  
  24.        1) Invalid sub-directory
  25.        ------------------------
  26.  
  27.        Despite sounding serious, the form of this error left by SAFEPACK
  28.        is actually very minor, and refers to the fact that the .. entry
  29.        at the start of a sub-directory may not point correctly to the
  30.        parent directory.  Since the parent's entry pointing at the
  31.        sub-directory is correct, CHKDSK can fix this fault easily and
  32.        automatically if run with the /F switch, i.e. CHKDSK drive: /F.
  33.  
  34.        2) 'Lost' clusters
  35.        ------------------
  36.  
  37.        This error can occur as moved clusters at the start of a file are
  38.        allocated together into a chain before the directory entry
  39.        pointing at them is updated, and the originals are only
  40.        de-allocated after the directory is updated.  Either chain is
  41.        equally valid, as one is a copy of the other, and the 'lost'
  42.        clusters may therefore be freed, making their disk space available
  43.        for re-use.  This is most simply accomplished by running CHKDSK
  44.        with the /F switch, and then answering NO to the question about
  45.        whether to convert lost clusters to files.  Should you have any
  46.        worries about doing this, however, you can easily answer YES to
  47.        this question then copy all the files of the form FILExxxx.CHK
  48.        (all in root directory), to a floppy before deleting them.
  49.  
  50.        If other errors are reported by CHKDSK, it would be unwise to
  51.        trust the data on the disk, and it is probably best to re-format
  52.        the disk and restore the backup you took before running SAFEPACK. 
  53.  
  54.                 --- SAFEPACK Recovery Information --- Page 1 ---
  55.        If any such problems occur, please contact the author, with as
  56.        much detail as possible about the circumstances.
  57.  
  58.  
  59.        SAFEPACK Error Messages
  60.        =======================
  61.  
  62.        The majority of SAFEPACK error messages are self-explanatory, and
  63.        most refer to user errors on the command-line such as requesting
  64.        defragmentation of a non-existent disk.  Some, however, require
  65.        more explanation.
  66.  
  67.  
  68.        Multi-tasking environment XXX or FASTOPEN detected
  69.        --------------------------------------------------
  70.  
  71.        It is not safe to defragment a disk from within a multi-tasking
  72.        environment such as Windows, and SAFEPACK contains checks for the
  73.        more common of such environments.  If you encounter this message
  74.        and are running a multi-tasking environment, terminate the multi-
  75.        tasker before re-running SAFEPACK.  If FASTOPEN is found, then it
  76.        is necessary to reboot after removing FASTOPEN from the CONFIG.SYS
  77.        or AUTOEXEC.BAT file. If you really wish to defragment under such
  78.        circumstances and understand what you are doing, or if this error
  79.        occurs without obvious reason, then the checks may be by-passed
  80.        with the /B option.  If this error is reported, no writing to the
  81.        disk will have occurred.
  82.  
  83.  
  84.        Error in the File Allocation Table
  85.        ----------------------------------
  86.  
  87.        SAFEPACK performs a stringent test of the disk's file structure
  88.        before starting to defragment it, and will abort with this message
  89.        if any errors are found, however minor.  Most common errors may be
  90.        fixed by running CHKDSK with the /F switch  - see the DOS manual
  91.        for details.  If this error is reported, no writing to the disk
  92.        will have occurred.
  93.  
  94.  
  95.        Insufficient memory for the program to continue
  96.        -----------------------------------------------
  97.  
  98.        This error is most likely to occur if there are more than abut
  99.        5000 files on the disk, or if you have less than 500k of free
  100.        memory.  Under some circumstances, it may be possible to run
  101.        SAFEPACK again with the same options, with success.  The disk
  102.        should remain fully usable after this error, which is a
  103.        'controlled exit'.
  104.  
  105.  
  106.  
  107.  
  108.                 --- SAFEPACK Recovery Information --- Page 2 ---
  109.        Disk read/write errors
  110.        ----------------------
  111.  
  112.        These may be reported under a variety of names such as write
  113.        protect, drive not ready, data error (CRC), seek error, sector not
  114.        found, write fault, read fault, or general failure. If any of
  115.        these errors occur, then there is likely to be a hardware or
  116.        magnetic surface error on the disk concerned, and SAFEPACK will
  117.        ask whether to retry or to abort - the normal ignore option is not
  118.        provided, as misreads of directory sectors could have disastrous
  119.        results.  If you have a utility to check &/or repair bad sectors
  120.        then this should be used, but otherwise it may be best to reformat
  121.        the disk, and restore your backup.  Note that errors of this type
  122.        are not normally detected by CHKDSK.
  123.  
  124.  
  125.        SAFEPACK Internal errors
  126.        ------------------------
  127.  
  128.        SAFEPACK contains several internal error checks to ensure that it
  129.        is functioning correctly, and if any of these fail then it aborts
  130.        quoting an error number.  These errors should never be seen by
  131.        users, but can be produced if another program is accessing the
  132.        disk at the same time as SAFEPACK, as can occur if it is used
  133.        under a multi-tasking environment with the /B option.  Should an
  134.        internal error be reported, please check your disk with CHKDSK,
  135.        and contact the author, providing as much detail as possible about
  136.        the circumstances.  
  137.  
  138.  
  139.        Conclusion
  140.        ==========
  141.  
  142.        I hope that this file does not scare anyone from using SAFEPACK,
  143.        as I have yet to know it fail, but only a fool would believe
  144.        himself to have created a perfect program, and I believe that an
  145.        honest discussion of potential problems, however unlikely, is
  146.        better than pretending that they do not exist.  
  147.  
  148.        If nothing else, I hope that this document will persuade users to
  149.        perform a full backup of their disk before running ANY
  150.        defragmenter, especially one without SAFEPACK's safety features!
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.                 --- SAFEPACK Recovery Information --- Page 3 ---
  163.